<ul class="nav nav-tabs">
    <li {if $action == 5}class="active"{/if}><a href="{php echo createWebUrlPlugin('beilai',array('themeid'=>$themeid,'action'=>5));}">课程设置</a></li>
    <li {if $action == 6}class="active"{/if}><a href="{php echo createWebUrlPlugin('beilai.gift',array('themeid'=>$themeid,'action'=>6));}">礼品设置</a></li>
    <li {if $action == 7}class="active"{/if}><a href="{php echo createWebUrlPlugin('beilai.setting',array('themeid'=>$themeid,'action'=>7));}">玩法设置</a></li>
    {if $_S['beilai_style']==1}
    <li {if $action == 71}class="active"{/if}><a href="{php echo createWebUrlPlugin('beilai.category',array('themeid'=>$themeid,'action'=>71));}">商家分类设置</a></li>
    {/if}
    <li {if $action == 9}class="active"{/if}><a href="{php echo createWebUrlPlugin('beilai.flag.coupon',array('themeid'=>$themeid,'action'=>9,'recordid'=>$_P['recordid']));}">优惠券领取记录</a></li>
    <li {if $action == 10}class="active"{/if}><a href="{php echo createWebUrlPlugin('beilai.flag.course',array('themeid'=>$themeid,'action'=>10,'recordid'=>$_P['recordid']));}">课程选择记录</a></li>
    <li {if $action == 8}class="active"{/if}><a href="{php echo createWebUrlPlugin('beilai.flag',array('themeid'=>$themeid,'action'=>8,'recordid'=>$_P['recordid']));}">礼品记录</a></li>
    <li {if $action == 11}class="active"{/if}><a href="{php echo createWebUrlPlugin('beilai.info',array('themeid'=>$themeid,'action'=>11));}">商家登记信息</a></li>
</ul>